import { defHttp } from '@/utils/http/axios'

// 查询入金业务明细列表
export function getReport11Page(params) {
  return defHttp.get({ url: '/fy/report11/page', params })
}

// 查询入金业务明细详情
export function getReport11(id: number) {
  return defHttp.get({ url: `/fy/report11/get?id=${id}` })
}

// 新增入金业务明细
export function createReport11(data) {
  return defHttp.post({ url: '/fy/report11/create', data })
}

// 修改入金业务明细
export function updateReport11(data) {
  return defHttp.put({ url: '/fy/report11/update', data })
}

// 删除入金业务明细
export function deleteReport11(id: number) {
  return defHttp.delete({ url: `/fy/report11/delete?id=${id}` })
}

// 导出入金业务明细 Excel
export function exportReport11(params) {
  return defHttp.download({ url: '/fy/report11/export-excel', params }, '入金业务明细.xls')
}